/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.puteiros.puteiro;

import javax.ejb.LocalBean;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

/**
 *
 * @author Leandro GoperziN
 */
@Stateless
@LocalBean
public class puteirosBean {

    @PersistenceContext(unitName = "puteiroPU")
    private EntityManager em;

    public void persist(Object o) {
        em.persist(o);
    }
}

